
<!DOCTYPE html>
<html>
<head>
    <meta charset="utf-8">
    <title>魅族商城</title>
    <meta name="keywords" content="魅族官方在线商店、魅族在线商城、魅族官网在线商店、魅族商城、魅族、魅族手机">
    <meta name="description" content="魅族商城是魅族面向全国服务的官方电商平台，提供魅族 PRO 系列、MX系列、魅蓝note系列和魅蓝metal系列的手机，配件和智能硬件的预约和购买。官方正品，全国联保，全场包邮，7天无理由退货，15天换货保障。">
    <meta name="viewport" content="width=device-width,initial-scale=1,maximum-scale=1,minimum-scale=1,user-scalable=no"/>
    <meta name="apple-mobile-web-app-capable" content="yes"/>
    <meta name="apple-mobile-web-app-status-bar-style" content="black"/>
    <meta name="format-detection" content="telephone=no,email=no"/>
    <meta http-equiv="pragma" content="no-cache">
    <meta http-equiv="cache-control" content="no-cache">
    <meta http-equiv="expires" content="0">
    <meta property="qc:admins" content="415077624446551256375" />
    <script type="text/javascript" src="/js/geo.js"></script>
    <script>!function(d){var c=d.document;var a=c.documentElement;var b=d.devicePixelRatio;var f;function e(){var h=a.getBoundingClientRect().width,g;if(b===1){h=720}g=h/10;a.style.fontSize=g+"px"}if(b>2){b=3}else{if(b>1){b=2}else{b=1}}a.setAttribute("data-dpr",b);d.addEventListener("resize",function(){clearTimeout(f);f=setTimeout(e,200)},false);e()}(window);</script>

    <link rel="stylesheet" href="/css/member-84bf9d5964.css"/>
    <link rel="icon" href="/other/favicon.ico" mce_href="/favicon.ico" type="image/x-icon">
    <link rel="shortcut icon" href="/other/favicon.ico" mce_href="/favicon.ico" type="image/x-icon">
</head>
<body onload="setup();preselect('北京市');promptinfo();">
<div class="app address">
    <div class="head-title" id="header">
        <a href="https://me.m.meizu.com/home/address/index"><i class="iconfont icon-arrow-left"></i></a>
        <span>添加收货地址</span>
    </div>
    <script>
        if (/MzmApp/.test(navigator.userAgent)) {
            document.getElementById('header').remove();
        }
    </script>

    <div class="maincon">
        <div class="address-form">
            <form id="edit-address"  action="/add/address" method="post">
                {{ csrf_field() }}
                <input type="hidden" name="isDefault" value="0"/>
                <div class="row name">
                    <label>收货人姓名：</label>
                    <input type="text" name="name" class="inp" data-required="true" maxlength="15" required-msg="请填写收货人" value="">
                </div>
                <div class="row phone">
                    <label>收货人手机号：</label>
                    <input type="tel" name="phone" class="inp" data-required="true" data-type="phone" required-msg="请填写收货人手机号" type-msg="手机号码不正确~" value="">
                </div>
                <div class="row province row-select">
                    <label>省份：</label>
                    <select name="province" id="s1" class="inp" data-required="true" required-msg="请选择收货人所在省份">
                        <option value=""></option>
                    </select>
                </div>
                <div class="row city row-select">
                    <label>城市：</label>
                    <select name="city" id="s2" class="inp" data-required="true" required-msg="请选择收货人所在城市">
                        <option value=""></option>
                    </select>
                </div>
                <div class="row area row-select">
                    <label>区县：</label>
                    <select  name="area" id="s3" class="inp" data-required="true" required-msg="请选择收货人所在区县">
                        <option value=""></option>
                    </select>
                </div>
                <div class="row addr-detail">
                    <label>详细地址：</label>
                    <input type="text" name="address" class="inp"  value="" data-required="true" min-length="4" maxlength="50" required-msg="详细地址不能少于4个字"/>
                </div>
                <input id="address" name="citydesc" type="hidden" value="" />
                <button type="submit" onclick="promptinfo()" class="btn btn-submit">确认添加</button>
            </form>
        </div>
    </div><!-- .maincon -->
</div><!-- .app -->

<script>
function promptinfo()
{
 var address = document.getElementById('address').value;
 var s1 = document.getElementById('s1').value;
 var s2 = document.getElementById('s2').value;
 var s3 = document.getElementById('s3').value;
 address=""+s1+ s2 + s3;
 document.getElementById('address').value = address;
}
 
</script>

</body>
</html>